widgets.brease.ChartYAxisWidget

Widget Description

Properties

name description category type defaultValue bindable readOnly required localizable editableBinding projectable cssProp (has no setter and getter in JS) groupRefId groupOrder nodeRefId (for linking node and value) deprecated typeRefId (for StyleReference) subtype (for MpComIdentReference)
axisLabel Axis label Appearance String false false false true false true
axisLabelDistance Distance between the label and the axis. Appearance PixelVal 45px false false false false false true
axisPosition Position of the y-Axis with respect to the graph area. Appearance brease.enum.HorizontalAlign left false false false false false true
enable Initial option to enable widget. Behavior Boolean true true false false false false true
style reference to a style for this widget type Appearance StyleReference default true false false false false true
tickLabelDistance Move the tick labels of the axis to the preferred distance to the axis Appearance PixelVal 9px false false false false false true
tickLabelRotation Rotate the tick labels of the axis to the preferred angle Appearance Rotation 0deg false false false false false true
visible change visibility Behavior Boolean true true false false false false true
zIndex The zIndex property specifies the z-order of a widget and its childs.
When widgets overlap, z-order determines which one covers the other. A widget with a larger zIndex generally covers a widget with a lower one.
The zIndex must be unique within a content.
UInteger no defaultValue
defined
false false true true true
width Outer width of widget Size 60 false false false true true

Styleable Properties

name type description defaultValue
axisColor Color

Color of the axis and its labels

#000000
disabledAxisColor Color

Color of the axis and its labels when it is disabled

#EEEEEE

Events

name description arguments
Click Fired when widget is clicked
  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

  • origin: String

    id of widget that triggered this event

DisabledClick Fired when disabled element is clicked on.
  • horizontalPos: String

    horizontal position of click in pixel i.e '10px'

  • verticalPos: String

    vertical position of click in pixel i.e '10px'

  • origin: String

    id of widget that triggered this event

  • hasPermission: Boolean

    defines if the state is caused due to missing roles of the current user

EnableChanged Fired when operability of the widget changes.
  • value: Boolean

    operability

VisibleChanged Fired when the visibility of the widget changes.
  • value: Boolean

    visibility

Actions

name description arguments result
SetEnable Sets the state of property «enable»
  • value: Boolean

SetStyle
  • value: StyleReference

SetVisible Sets the state of property «visible»
  • value: Boolean